package lowijs.XfDroid;

import android.os.*;
import android.webkit.*;
import android.app.*;
import android.graphics.*;

public class ViewScreenshot extends Activity {
	public void onCreate(Bundle b) {
		super.onCreate(b);
		setContentView(R.layout.viewscreenshot);
		
		String screenshotUrl = "http://screenshot.xfire.com/screenshot/large/"
			+ getIntent().getStringExtra("guid") + ".jpg";
		
		WebView wv = (WebView)findViewById(R.id.wvScreenshot);
		wv.setBackgroundColor(Color.BLACK);
		wv.getSettings().setBuiltInZoomControls(true);
		wv.loadUrl(screenshotUrl);
	}
}
